package cn.liuding.pethome.org.mapper;

import cn.liuding.pethome.org.domain.Department;
import cn.liuding.pethome.org.query.DepartmengQuery;

import java.util.List;

public interface DepartmentMapper {
    void add(Department departMent);
    void delete(Long id);
    void update(Department departMent);
    Department loadById(Long id);
    List<Department> loadAll();
    Long queryCount(DepartmengQuery query);
    List<Department> queryData(DepartmengQuery query);
    void deleteAll(List<Long> ids);
}
